package com.uchiha.nova.mainService.wrapper;

import com.uchiha.nova.core.model.entity.BtnInfoEntity;
import com.uchiha.nova.core.model.vo.BtnInfoVO;
import com.uchiha.nova.core.tool.support.BaseEntityWrapper;
import com.uchiha.nova.core.tool.util.BeanUtil;

/**
 * 按钮信息 包装类,返回视图层所需的字段
 *
 * @author Chill
 */
public class BtnInfoWrapper extends BaseEntityWrapper<BtnInfoEntity, BtnInfoVO>  {

	public static BtnInfoWrapper build() {
		return new BtnInfoWrapper();
 	}

	@Override
	public BtnInfoVO entityVO(BtnInfoEntity btnInfo) {
		BtnInfoVO btnInfoVO = BeanUtil.copy(btnInfo, BtnInfoVO.class);
		return btnInfoVO;
	}

}
